From: Adel Gadllah Date: Fri, 5 Oct 2012 18:25:30 +0000 (+0200) Subject: extensionUtils: Don't warn about missing url X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5659 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6dab119650f4ef074b5e9a50d89f7e0c80095c78;p=gnome-shell.git extensionUtils: Don't warn about missing url This did not have the desired effect and just produces noise. --- diff --git a/js/misc/extensionUtils.js b/js/misc/extensionUtils.js index e0969c45c..14be194ef 100644 --- a/js/misc/extensionUtils.js +++ b/js/misc/extensionUtils.js @@ -120,11 +120,6 @@ function createExtensionObject(uuid, dir, type) { } } - // Encourage people to add this - if (!meta.url) { - log('Warning: Missing "url" property in %s/metadata.json'.format(uuid)); - } - if (uuid != meta.uuid) { throw new Error('uuid "' + meta.uuid + '" from metadata.json does not match directory name "' + uuid + '"'); }